From 4d7b8f5a6630fe86f5b4c9fd7b00d9fef66c9b9f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 8 Oct 2017 09:00:56 -0400 Subject: [PATCH] vulkan: Fix blendmode coordinate handling We were node handling coordinates correctly when dealing with differently sized child nodes in a blendmode node. This was showing up in the gtk4-demo css blendmode example, for blendmodes other than normal. --- gsk/gskvulkanrenderpass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c index 90c38089e4..dc1a88d007 100644 --- a/gsk/gskvulkanrenderpass.c +++ b/gsk/gskvulkanrenderpass.c @@ -1036,14 +1036,14 @@ gsk_vulkan_render_pass_upload (GskVulkanRenderPass *self, render, uploader, top, - &top->bounds, + &op->render.node->bounds, clip, &op->render.source_rect); op->render.source2 = gsk_vulkan_render_pass_get_node_as_texture (self, render, uploader, bottom, - &bottom->bounds, + &op->render.node->bounds, clip, &op->render.source2_rect); } -- 2.30.2